/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Gao zhao xu
 * Date: 2023-06-11
 * Time: 10:10
 */
/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Gao zhao xu
 * Date: 2023-06-10
 * Time: 17:25
 */
class A{
}
public class OutClass {
    public static void main(String[] args) {
        String str1 = "abc";
        String str2 = "abc";
        System.out.println(str1 == str2);
        str2 = "bc";
        System.out.println(str2);
        System.out.println(str1);
        System.out.println(str1 == str2);
        
    }
    public static void main1(String[] args) {
        int a = 10;
        new A(){
            public void test(){
                System.out.println("1");
            }
        }.test();
    }
}
